package cn.wgx.modules.sys.entity.mapper;

import cn.wgx.modules.sys.entity.SysChinaCity;
import cn.wgx.modules.sys.entity.SysChinaCityExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysChinaCityMapper {

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    List<SysChinaCity> selectByExample(SysChinaCityExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int updateByExample(@Param("record") SysChinaCity record, @Param("example") SysChinaCityExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int insertSelective(SysChinaCity record);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int insert(SysChinaCity record);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int updateByPrimaryKeySelective(SysChinaCity record);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int updateByExampleSelective(@Param("record") SysChinaCity record, @Param("example") SysChinaCityExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int deleteByExample(SysChinaCityExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    long countByExample(SysChinaCityExample example);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    SysChinaCity selectByPrimaryKey(Integer id);

    /**
     * @mbg.generated Tue Jun 05 17:49:50 CST 2018
     */
    int updateByPrimaryKey(SysChinaCity record);
}
